package com.yxq.mdt.app.modules.socialcontact.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yxq.mdt.app.R;
import com.yxq.mdt.app.modules.socialcontact.bean.SocialContactAllTopicsBean;

import java.util.List;

public class SocialContactAllTopicsAdapter extends BaseQuickAdapter<SocialContactAllTopicsBean.DataBean, BaseViewHolder> {
    public SocialContactAllTopicsAdapter(int layoutResId, @Nullable List<SocialContactAllTopicsBean.DataBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, SocialContactAllTopicsBean.DataBean item) {
        helper.setText(R.id.topics_list_name, "#" + item.getTagName() + "#");
        helper.setText(R.id.topics_list_number, "");
    }
}
